package com.lucy.wx.miniapp.dao;

import com.lucy.wx.miniapp.entity.MiniAppGrant;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface MiniAppGrantDAO extends JpaRepository<MiniAppGrant,String> {
    // 根据应用ID查询
    Optional<MiniAppGrant> findByAppId(String appId);
}
